home *** CD-ROM | disk | FTP | other *** search
/ Danny Amor's Online Library / Danny Amor's Online Library - Volume 1.iso / html / faqs / faq / aux-faq / part4 < prev   
Encoding:
Text File  |  1995-07-25  |  24.6 KB  |  598 lines

  1. Subject: Apple A/UX FAQ List (4/4)
  2. Newsgroups: comp.unix.aux,news.answers,comp.answers
  3. From: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
  4. Date: 23 Nov 94 14:17:02 GMT
  5.  
  6. Archive-name: aux-faq/part4
  7. Last-modified: Mon Nov 21 12:30:27 EST 1994
  8.  
  9.          This is the Frequently Asked Question (FAQ) list for A/UX 3.x.x
  10.  
  11.  
  12. \\\\\\\\\\\\\\\\\\\\\\ START OF PART 4 OF 4 //////////////////////
  13.  
  14. ============================================================
  15. D.15)  What 3rd party accelerators are compatible with A/UX?
  16. ------------------------------------------------------------
  17.  
  18. For the most part, all DayStar Digital accelerators are compatible with A/UX
  19. 3.0 even if their controlling CDEVs don't work under A/UX (the accelerator
  20. must be enabled with the CDEV before booting A/UX). However, their 040
  21. accelerators do NOT work under A/UX. In fact, except for Apple's own Quadra
  22. 700 Logic Board Upgrade, there are no 040 accelerators that work (i.e. don't
  23. crash) under A/UX.
  24.  
  25. There has been at least 1 report of the DayStar-accelerated MacII not working
  26. under 3.0.2... it's possible that 3.0.2 is more sensitive to timing than 3.0
  27. was... If in doubt, be _sure_ that you can return the accelerator if you
  28. can't run it under A/UX.
  29.  
  30. According to Daystar Digital, the DayStar QuadraCache is _not_ compatible
  31. with A/UX. DayStar is working on a fix... Nonetheless, there are a number of
  32. people (including people at Apple) who are using these cache cards with no
  33. problems at all and with very nice (~25%) performance boosts.
  34.  
  35. << ED: This is kinda skimpy, but I'd thought I'd start it up. EMail me
  36.        your list >>
  37.  
  38. ==============================================================
  39. D.16)  Will the old serial HP DeskWriter work under A/UX?
  40. --------------------------------------------------------------
  41.  
  42. No, it won't... You need to use AppleTalk to use it under A/UX.
  43.  
  44. ================================================
  45. D.17)  How can I use a HP DeskWriter under A/UX?
  46. ------------------------------------------------
  47.  
  48. For the answer, snag a copy of DeskWriter.txt which is available via anon-
  49. ftp on jagubox in /pub/aux/Info.
  50.  
  51. ======================================
  52. D.18)  Does A/UX support 24-bit color?
  53. --------------------------------------
  54.  
  55. Yes.
  56.  
  57. There is one major caveat, that will hopefully be addressed in future
  58. versions. On startup, A/UX reinitializes all hardware drivers, including
  59. the video-drivers; as a result, most accelerated 24-bit cards (all third-
  60. party cards known to date, as well as Apple's old 8*24 GC card) will be
  61. reinitialized to run in non-accelerated mode. You'll still get 24-bit video,
  62. but depending on your hardware, it may be painfully slow.
  63.  
  64. This could be solved by better driver support from the vendors of accelerated
  65. video cards. Certain vendors have been promising such support for awhile now.
  66.  
  67. The best hardware to run A/UX with 24-bit video enabled are currently
  68. the Quadra 700, 900, and 950, whose internal video can be populated with
  69. enough VRAM to support 24-bit color (note that the Q800 cannot do this !).
  70. Performance is considered good under A/UX by many users.
  71.  
  72. The following is a list of 24-bit cards that readers have reported work with
  73. A/UX from personal experience. It is NOT a complete list; there have been no
  74. reports of cards that work under MacOS but not A/UX (excepting the caveat
  75. detailed above):
  76.  
  77.     Apple 8*24, 8*24GC
  78.     Quadra 700, 900, 950 internal video
  79.     PrecisionColor PRO 24xp
  80.     RasterOps 24STV, Paintboard li
  81.     Radius 24XP, 24XK
  82.  
  83. =================================================
  84. D.19)  What's the specifics on the AWS95 PDS Card?
  85. -------------------------------------------------
  86.  
  87. The AWS95 PDS Card (known as "Pisces") has two main functional additions to
  88. the Q950. The first is that it includes an external level-2 cache for the
  89. Quadra's 68040. The cache size is 128K, but this can be increased with Apple
  90. provided SRAM upgrade kits. The use of a L2 cache increases the base perfor-
  91. mance of the Q950.
  92.  
  93. The second capability that Pisces includes is the addition of two additional
  94. upgraded SCSI buses. Pisces fully supports Direct Memory Access (DMA) on these
  95. SCSI buses. This can greatly increase SCSI throughput by offloading SCSI
  96. operations to the PDS card. The card supports active termination and negation
  97. on the 2 SCSI DMA buses, improving signal quality and integrity.
  98.  
  99. =================================================
  100. D.20)  What are the specifics of SCSI under A/UX?
  101. -------------------------------------------------
  102.  
  103. SCSI under A/UX is SCSI-1/CCS and not SCSI-2. However, A/UX can use most
  104. SCSI-2 devices. Problems will arise on some SCSI-2 disks if their Error
  105. Correction Mode Pages are incorrect (See Q&A D.04). A/UX supports SCSI
  106. connect/disconnect which results in more efficient use of the SCSI bus.
  107. Finally, A/UX provides asynchronous I/O as well.
  108.  
  109. =========================================================
  110. D.21)  I can't get my LaserJet 4M to work reliably. Help!
  111. ---------------------------------------------------------
  112.  
  113. Bad news... for some reason, if the LaserJet is connected _directly_ to a
  114. Q700 running A/UX via AppleTalk then it won't work. If you have a router or
  115. something similar between the two it'll work like a hose. It looks like it's
  116. most probably a 4M ROM bug and I hear that HP is "working" on a fix.
  117.  
  118. ==========================================================
  119. D.22)  Does the Apple Adjustable Keyboard work under A/UX?
  120. ----------------------------------------------------------
  121.  
  122. No it doesn't... This is due to the way the Adjustable keyboard actually
  123. works and the fact that A/UX doesn't fully support the ADB Manager. :(
  124.  
  125.  
  126. :::::::::::::::::::::::::::::::::::
  127. ::::: PORTING AND PROGRAMMING :::::
  128. :::::::::::::::::::::::::::::::::::
  129.  
  130. ================================================================
  131. P.01)  How come rn|elm|less|etc... act weird concerning signals?
  132. ----------------------------------------------------------------
  133.  
  134. Well, it's not really them at all. Many people have found that more than a
  135. few ports require the addition of the 'set42sig()' call to enable BSD 4.2
  136. signal delivery. The best place to add this is as the 1st executable statement
  137. under
  138.  
  139.     "main() {"
  140.  
  141. Another point about porting applications: A/UX's 'cc' does provide "strict"
  142. BSD, SystemV and Posix libraries. If you are porting a BSD program, you can
  143. enable BSD "emulation" by adding the "-ZB -lbsd" options to your 'cc' command
  144. line. In fact, using just the '-lbsd' option alleviates the need for adding
  145. the 'set42sig()' call mentioned above and is, in many cases, the suggested
  146. option. Compiling with gcc also helps out a great deal.
  147.  
  148. ===================================
  149. P.02)  Is X11R5 available for A/UX?
  150. -----------------------------------
  151.  
  152. Yes! Thomas Eberhardt has ported X11R5 and the binaries (which includes full
  153. shared libraries) for A/UX are available via anon-ftp on wuarchive.wustl.edu
  154. under systems/aux/X11R5 (our overseas friends should get it from
  155. ftp.uni-stuttgart.de due to US Export regs).  Patches for X11R5 compiled with
  156. gcc are also available. It looks like it results in a nice 10-20% increase in
  157. performance! Thomas had "taken over" X11R5 with his new port; John Coolidge
  158. used to do it...
  159.  
  160. %%% For more information about X11R5 for A/UX, E-mail Thomas %%%
  161.  
  162. ====================================
  163. P.03)  FSF GNU doesn't support A/UX?
  164. ------------------------------------
  165.  
  166. P.03)  I've noticed that FSF GNU doesn't support A/UX. Does that mean
  167.        I'll miss out on all the neat Gnu-stuff like gcc?
  168.  
  169. Although it's true that FSF is "boycotting" Apple and A/UX (FSF doesn't like
  170. Apple's predisposition of suing to protect "look and feel"), ports of most
  171. Gnu applications are available. Of particular interest is gcc version 2.5.7
  172. which has been ported by John Coolidge (coolidge@apple.com) and is available
  173. via anon-ftp on wuarchive.wustl.edu in systems/aux/gnu. The binaries, sources
  174. and diffs are all available.
  175.  
  176. GCC version 2.5.7 for A/UX has been ported and is available... Highly
  177. recommended!
  178.  
  179. As a nice compliment to using GCC, gdb (4.9) is also available.
  180.  
  181. %%% For more info about gcc for A/UX, please contact John via E-mail %%%
  182.  
  183. =======================================
  184. P.04)  Mail reader problems under A/UX
  185. ---------------------------------------
  186.  
  187. P.04)  I've ported Elm (or other mail reader) and it doesn't seem to work.
  188.        Why?
  189.  
  190. It seems most likely that the reason is because they attempt to use a
  191. different file locking scheme that /bin/mail does. Pre-3.0 versions of mail
  192. used 'flock' style file locking. 3.x.x now uses the '.lock' scheme for mail
  193. file locking. Elm 2.4.X requires that both flock and .lock be enabled. Elm
  194. 2.3.X requires _only_ .lock locking.
  195.  
  196. =============================================
  197. P.05)  What languages are available for A/UX?
  198. ---------------------------------------------
  199.  
  200. A/UX comes with a C compiler ('cc'), a FORTRAN-77 compiler ('f77') as well
  201. as an assembler ('as'), SNOBOL ('sno') and a kinda-basic interpreter ('bs').
  202. 'cc' is a nice, stable, if not-too-quick compiler. 'f77' is a true FORTRAN-77
  203. compiler and appears quite workable. I've not used 'sno' (I couldn't recall
  204. how to program in SNOBOL if my life depended on it :) or 'bs'.
  205.  
  206. If you are doing any work in C, then it would be well worth it to get a copy
  207. of the GNU C compiler ('gcc') (see Q&A #P.03). gcc is K&R and ANSI compatible
  208. so if you are doing ANSI work you'll need it. Apple also has an ANSI C
  209. compiler ('c89') that you can buy. It's available on the "A/UX Developer's
  210. Toolkit CD" from APDA. There is also at least one other 3rd-party C compiler
  211. out there, but I can't recall it's name right now. gcc is free; c89 runs
  212. about $800. Both include C++ capabilities.
  213.  
  214. There are also 2 very good 3rd-party FORTRAN compilers: NKR FORTRAN and Absoft
  215. MacFORTRAN II. In my opinion, MacFORTRAN II is the better product...  it has
  216. finer compiler control, a wide number of compatibility options (such as VAX
  217. FORTRAN) and excellent speed. If you do order MFII, be _sure_ to get the A/UX
  218. version. They also sell an MPW version that will work under A/UX but it's
  219. run under, you guessed it, MPW. The A/UX version is a true "Unix" compiler
  220. and it's optimized for A/UX. Both MFII and NKR FORTRAN run about $500-$600.
  221.  
  222. Oasys sells 3 compiler packages: C, C++ and FORTRAN. All the compilers are
  223. based on the GreenHills compilers which are known to be robust and fast.
  224. However, the Oasys packages are expensive, running about $2000 per language
  225. (although you do get assemblers and linker/loaders with the package).  Unisoft
  226. used to distribute their "Optimizing Compilers" (FORTRAN and C) for A/UX,
  227. but they are no longer available... Pity, because they also were based on
  228. GreenHills and were quite nice.
  229.  
  230. At present, I know of no true Pascal compilers for A/UX.
  231.  
  232. Finally, if you are doing program development, then you'll need a good
  233. debugger. As described above in "List of ports...", gdb has been ported if
  234. you would prefer using something other than sdb or dbx, which are included
  235. with A/UX. If you are using FORTRAN, then Absoft also makes an excellent
  236. debugger which has been fine-tuned to work with MFII (it also does quite well
  237. with C); it's called FX. It has two interfaces, character and Motif, and is
  238. quite powerful.
  239.  
  240. =======================================
  241. P.06)  Is OSF/Motif available for A/UX?
  242. ---------------------------------------
  243.  
  244. The only source for OSF/Motif (1.1.4) for A/UX that I know of is:
  245.  
  246.    Integrated Computer Solutions
  247.    201 Broadway
  248.    Cambridge, MA 02139
  249.    617-547-0510
  250.  
  251. However, they have stopped producing this and have since stopped support for
  252. A/UX OSF/Motif. They may still have a few copies of it available, so if you
  253. don't mind using unsupported software, give them a call.
  254.  
  255. If you have, or can get, the actual source code for Motif then the following
  256. will be of some help: 1.1.4 compiles with minimal changes to the source using
  257. 'cc' and works "great." However, the source for 1.2.2 makes calls to various
  258. XIM multi-character routines, leaving many unresolved externals when linking.
  259. Now, if someone ported X11R5 and left the XIM routines intact, then maybe
  260. compiling and linking 1.2.2 would go off without a hitch... Any takers??
  261.  
  262. ===========================
  263. P.07)  Looking for 'ranlib'
  264. ---------------------------
  265.  
  266. P.07)  While trying to port some software, the Makefile looks
  267.        for a program called 'ranlib' and dies when it can't
  268.        find it. What is it and where can I get it.
  269.  
  270. 'ranlib' is a program that increases the efficiency of accessing and using
  271. archives (*.a files). A/UX's 'ar' already does this, so it isn't needed.
  272. To get around this, do something like:
  273.  
  274.     ln /bin/true /bin/ranlib
  275.  
  276. You could also use '/bin/touch' but the above will (hopefully) take care of
  277. cases when ranlib is called with options. If you want to put 'ranlib'
  278. somewhere else, then that's OK. If the location is a different file system,
  279. then you'll need to use a symbolic link:
  280.  
  281.     ln -s /bin/true /usr2/local/bin/ranlib
  282.  
  283. ==============================
  284. P.08)  Looking for 'setlocale'
  285. ------------------------------
  286.  
  287. P.08)  When compiling, I get the message that 'setlocale' is
  288.        an "undefined symbol"... what's going on?
  289.  
  290. The 'locale' suite can be found in /lib/libposix.a. To avoid linking to
  291. libposix.a you can do the following to create a separate locale library:
  292.  
  293.    $ ar xv /lib/libposix.a locale.o
  294.    $ ar rv /usr/lib/liblocale.a locale.o
  295.  
  296. Now you can simply link to '-llocale' to add it in.
  297.  
  298.  
  299. :::::::::::::::::::::::::
  300. ::::: COMMUNICATION :::::
  301. :::::::::::::::::::::::::
  302.  
  303. ==================================
  304. C.01)  'getty' problems under A/UX
  305. ----------------------------------
  306.  
  307. C.01)  I'm unable to start a getty process on a built-in serial port. When
  308.        I use 'setport' to enable the port, I get a "no such device" error.
  309.        Configuring /etc/inittab to respawn getty on the port has no effect.
  310.  
  311. AppleTalk is probably enabled for the port. The getty process can be started
  312. temporarily by turning off AppleTalk via A/UX's Finder Chooser and THEN
  313. using the 'setport' command.
  314.  
  315. You can permanently disable AppleTalk by reconfiguring the kernel with
  316. "newconfig noappletalk". If you wish to keep the drivers installed in the
  317. kernel but still want to "permanently" disable AppleTalk, you can edit
  318. /etc/startup to prevent AppleTalk from initializing and /etc/inittab can be
  319. editted to start getty. (NOTE: /etc/startup is regenerated by newconfig so
  320. you'll have to redo this if you reconfigure the kernel).
  321.  
  322. If you don't have an EtherTalk card installed, then you can also modify
  323. /etc/appletalkrc to point to "ethertalk0" instead of "localtalk0". Doing
  324. this stops AppleTalk from bothering the serial port because it tries to use
  325. the non-existant card.
  326.  
  327. ========================================
  328. C.02)  sendmail problems with /etc/hosts
  329. ----------------------------------------
  330.  
  331. C.02)  I am using and depending on /etc/hosts to do all my hostname resolving
  332.        (i.e. not using named or /etc/resolv.conf). How come I can't mail
  333.        to other hosts, but I can ping|ftp|etc... them?
  334.  
  335. Well, the problem is actually with sendmail (in /usr/lib). sendmail (under
  336. A/UX 2.0 and later) assumes the use of a nameserver. Pre-2.0 versions were
  337. "adjusted" to look in /etc/hosts if any nameserver call failed (which it
  338. would if it wasn't running, of course :).
  339.  
  340. Jim Jagielski (jim@jagubox.gsfc.nasa.gov) has hacked sendmail 5.65 for A/UX
  341. to have it also check /etc/hosts. The source code is available on jagubox.
  342.  
  343. You may also want to upgrade to smail 3.1.28. smail is a very powerful yet
  344. easy to configure (and maintain) replacement for sendmail. It can both query
  345. the NameServer as well as look in /etc/hosts to "interpret" hostnames. The
  346. required A/UX-related diffs and patches, which were written by Bob Denny
  347. (denny@alisa.com) are available on jagubox.
  348.  
  349. %%% For more info, contact Jim %%%
  350.  
  351. =================================================
  352. C.03)  "not a typewriter" error message with mail
  353. -------------------------------------------------
  354.  
  355. C.03)  When I try to mail something, I get the following error message:
  356.        "Cannot read frozen config file: not a typewriter". What's wrong?
  357.  
  358. This message is produced by sendmail (/usr/lib/sendmail) when it's frozen
  359. configuration file (/usr/lib/sendmail.fc) is unusable (as it is in the A/UX
  360. distribution which has it as a 0-byte file). To create a "new" frozen file
  361. of your present sendmail.cf file (assuming that it's good), type:
  362.  
  363.     $ /usr/lib/sendmail -bz
  364.  
  365. (the sendmail daemon, if it exists, must be killed 1st).
  366.  
  367. ============================
  368. C.04)  Remote logins on tty0
  369. ----------------------------
  370.  
  371. C.04)  How do I set up my Mac and A/UX to enable remote logins via a modem
  372.        on tty0?
  373.  
  374. First of all, you must edit /etc/inittab to start getty on tty0 using mo_2400
  375. (or whatever speed you want, such as mo_9600):
  376.  
  377.     00:2:respawn:/etc/getty -u -t 60 tty0 mo_2400
  378.  
  379. Make sure that your modem is set to be quiet, to not return result codes and
  380. to not echo back. It must also reset on DTR being dropped ("atq1e0&d3" will
  381. achieve this for most Hayes-compatible modems except certain (all) USR
  382. modems). Your modem must also raise DCD on connection ("at&c1") in order to
  383. have Dialup security (i.e. when the line is closed, HangUp the process.  This
  384. means that MODEM flow control must be specified in gettydefs). You then save
  385. these changes using the "at&w" sequence. Finally, to make it autoanswer, be
  386. sure to add "ats0=1&w".
  387.  
  388. Make sure that the modem cable is correctly configured (NOTE: This is for
  389. Dialup Security!):
  390.  
  391.     Mac       Modem
  392.     --------------------
  393.     1 (HskO)  20 (DTR)
  394.               4  (RTS)  <- yep... it gets sent to Pin 20 & 4
  395.     2 (HskI)  8  (DCD)
  396.     3 (TxD-)  2  (TxD)
  397.     4 (GDN)   7  (Sgnd)
  398.     5 (RxD-)  3  (RxD)
  399.     6 NO CONNECT
  400.     7 NO CONNECT
  401.     8 (RxD+)  7  (Sgnd)  <- this is right, it gets tied to Mac pin 4 too.
  402.  
  403. If you mess up pin 8 things can get so flaky that you'll never figure out
  404. what's going on. You see, by grounding pin 8, you make the modem port truly
  405. RS-232 compatible. If not grounded, the port will use the RS-422 standard,
  406. which can cause lots of problems. For more info about pinouts and cable
  407. pinouts, check out "/usr/lib/uucp/README".
  408.  
  409. Please note that getty is the bidirectional version of getty, which is
  410. sometimes known as uugetty. Thus, you can have dial in and dial out at the
  411. same time on the same port. You should be using at least version 1.16 of HDB
  412. (see above: "known bugs" and Q&A #A.16)
  413.  
  414. As mentioned above, the cable described provides for Dialup Security and
  415. prevents the use of hardware flow control... If, however, the exact same
  416. baudrate is used throughout the phone link, the need for hardware flow
  417. control is greatly reduced.
  418.  
  419. ==================================
  420. C.05)  'talk' and other UNIX boxes
  421. ----------------------------------
  422.  
  423. C.05)  How come I can't use 'talk' with some of the other Unix boxes out
  424.        there, and they can't talk to me?
  425.  
  426. The reason why is because there are two versions of talk (and it's daemon
  427. talkd) out there. A/UX uses the BSD 4.2 version. Others use the 4.3 version.
  428. The two aren't compatible and don't even talk on the same port. If you try
  429. to talk to someone and all you get is a "Checking for invitation..." message
  430. then it's because the machine you're trying to access is using 4.3.
  431.  
  432. Steve Green (xrsbg@dirac.gsfc.nasa.gov) has ported the 4.3 versions of talk
  433. and talkd (now renamed ntalk and ntalkd for A/UX) to overcome this snag. You
  434. can have both versions available and running with no problems. The port is
  435. available on jagubox.gsfc.nasa.gov.
  436.  
  437. =====================================================
  438. C.06)  How can I convince A/UX to forward IP packets?
  439. -----------------------------------------------------
  440.  
  441. You will need to use 'adb' to adjust the A/UX kernel to enable IP forwarding.
  442. This is done by changing the value of the 'ipforwarding' "variable" from
  443. 0 (no forwarding) to 1 (enable forwarding).
  444.  
  445. As root, and in single-user mode, apply this patch:
  446.  
  447.     # Enable fowarding: just the kernel
  448.     adb -w -k /unix << Foo
  449.     ipforwarding?D
  450.     ipforwarding?W 1
  451.     $w
  452.     $q
  453.     Foo
  454.  
  455. And reboot.
  456.  
  457. You'll need to redo this whenever the kernel is rebuilt (like via 'newunix')
  458. unless you apply the patch to /etc/install.d/boot.d/bnet as follows:
  459.  
  460.     # Enable fowarding: keep it that way
  461.     adb -w /etc/install.d/boot.d/bnet << Foo
  462.     ipforwarding?D
  463.     ipforwarding?W 1
  464.     $w
  465.     $q
  466.     Foo
  467.  
  468. =================================
  469. C.07)  Is PPP available for A/UX?
  470. ---------------------------------
  471.  
  472. Unfortunately, I know of no port of PPP for A/UX :(
  473.  
  474. ================================================
  475. C.08)  How can I change the MTU value for CSlip?
  476. ------------------------------------------------
  477.  
  478. You will need to use 'adb' to adjust either the kernel or the CSlip driver to
  479. change this value (slip_mtu).  As root, and in single-user mode, apply this
  480. patch (please replace $THE_VALUE with the actual HEX value you want MTU to be):
  481.  
  482.     # Change SLIP MTU value to $THE_VALUE: just the kernel
  483.     adb -w -k /unix << Foo
  484.     slip_mtu?d
  485.     slip_mtu?w $THE_VALUE
  486.     $w
  487.     $q
  488.     Foo
  489.  
  490. And reboot.
  491.  
  492. You'll need to redo this whenever the kernel is rebuilt (like via 'newunix')
  493. unless you apply the patch to /etc/install.d/boot.d/cslip as follows:
  494.  
  495.     # Change SLIP MTU value to $THE_VALUE: keep it that way
  496.     adb -w /etc/install.d/boot.d/cslip << Foo
  497.     slip_mtu?d
  498.     slip_mtu?w $THE_VALUE
  499.     $w
  500.     $q
  501.     Foo
  502.  
  503. Now run 'newconfig -v' and reboot.
  504.  
  505.  
  506. ::::::::::::::::::::::::::::
  507. ::::: ERRORS EXPLAINED :::::
  508. ::::::::::::::::::::::::::::
  509.  
  510. =======================================
  511. E.01)  backspace erases prompt problems
  512. ---------------------------------------
  513.  
  514. E.01)  How do I keep command lines that I edit with "backspace" from erasing
  515.        the prompt?
  516.  
  517. This behavior is due to the tty driver under A/UX. The BSD tty driver (which
  518. A/UX doesn't use) handles this, whereas the SysV driver doesn't. If you are
  519. running 'ksh' then you can "set -o viraw" to prevent this from happening.
  520. As far as I know, there are no work-arounds for 'sh' or 'csh'. ('tcsh' and
  521. 'bash' do not suffer from this problem... )
  522.  
  523.  
  524. ====================================
  525. E.02)  'xinit'|'startx' server error
  526. ------------------------------------
  527.  
  528. E.02)  Whenever I try to run xinit (or startx) from the CommandShell I get
  529.        a fatal server error. Why?
  530.  
  531. The reason why is because both X and the CommandShell want _complete_ control
  532. over your Mac (display, keyboard and mouse). So, when you try to start one
  533. while running the other, you'll get into trouble. You need to start X either
  534. from the Console Emulator Mode or by choosing it as your "session type" from
  535. the Login screen (This session type will be available only if your installed
  536. Apple's X or have installed John Coolidge's 'sessiontypes' for X11R5).
  537.  
  538. ================================================
  539. E.03)  "fcntl: local lock manager" error message
  540. ------------------------------------------------
  541.  
  542. E.03)  I keep on getting the following error message on the Console:
  543.        "fcntl: local lock manager not registered". What's going on?
  544.  
  545. This is printed out whenever your kernel is configured for NFS and a file-
  546. lock is attempted (as when sending Email) but the NFS lock daemon (rpc.lockd)
  547. isn't running. This is most probably due to the fact that it wasn't started
  548. in /etc/inittab. The fix is simple: enable rpc.lockd (and it's companion
  549. rpc.statd) in /etc/inittab as follows:
  550.  
  551.    nfs5:2:wait:/etc/rpc.statd   # set to "wait" for NFS status monitor
  552.    nfs6:2:once:/etc/rpc.lockd   # set to "once" for NFS lock manager
  553.  
  554. and either Restart A/UX or simply type 'init q'.
  555.  
  556. ===============================================
  557. E.04)  "xterm: no available ptys" error message
  558. -----------------------------------------------
  559.  
  560. E.04)  When I try to startup 'xterm', I get the following error
  561.        message: "xterm: no available ptys"... What gives?
  562.  
  563. There are three possible solutions:
  564.  
  565.     1. Make sure that there are ptys configured into the
  566.        kernel... Use 'kconfig' to check that NPTY is non-0
  567.     2. Switch to X11R5... This seems to happen to some users
  568.        running Apple's X11...
  569.     3. For at least one user, copying the /usr/lib/X11/xterm*.tic files
  570.        to /usr/lib/terminfo/x/xterm(s) worked...
  571.     4. One final possible solution is to start 'xterm' from 'sh'.
  572.  
  573. ==================================
  574. E.05)  ps|pstat only work for root
  575. ----------------------------------
  576.  
  577. E.05)  'ps' and 'pstat' only seem to work for root. If anyone else tries
  578.        these commands, they get a "no mem" error message. What's wrong?
  579.  
  580. Both these commands require read access to /dev/kmem, which is not allowed
  581. for regular users. Thus, the programs require that they be suid or sgid to
  582. the user or group that can read /dev/kmem. See if this is true and fix if
  583. not.
  584.  
  585. //////////////////////  END OF PART 4 OF 4  \\\\\\\\\\\\\\\\\\\\\\
  586.  
  587. =====================================
  588. **** Author's/Editor's Signature ****
  589. -------------------------------------
  590.  
  591.  
  592. -- 
  593. #include <std/disclaimer.h>
  594.   |     Jim Jagielski      |  jim@jagubox.gsfc.nasa.gov  |  V: 301 286-5964  |
  595.   | NASA/GSFC, Code 734.4  |     Greenbelt, MD 20771     |  F: 301 286-1719  |
  596.                    << We do _not_ touch the DON'T button! >>
  597.  
  598.